namespace AtomicCms.Services.Abstract
{
    using System.Collections.Generic;
    using System.Web.Caching;
    using Common.Entities;

    public interface ISettingService
    {
        CmsSetting Load(int id);
        CmsSetting Load(string key);
        IEnumerable<CmsSetting> LoadAll();
        void Update(CmsSetting cmsSetting);
        string GetSettingValue(string settingKey, Cache cache);
    }
}